package mj.scott.back.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class UserVO {
    private Long id;//用户id
    private String username;//用户名
    private String password;//密码
    private String phone;//手机号
    private String email;//邮箱

    private String salt;//盐值
    private String role;//角色
    private String status;//状态

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;//更新时间
}
